package com.dt.com;

public class anm{
    public String name="动物";
    public int age=10;

    public int getAge() {
        return age;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }
    public void gb(){
        setAge(122);
    }

    public  void slp(){
        System.out.println("睡");
    }
    public void run(){
        System.out.println("跑");
    }
    public void eat(){
        System.out.println("吃");
    }
    public void show(){
        System.out.println("hello world");
    }
}

//class dog{
//    public void eat(){
//        System.out.println("狗吃");
//    }
//    public void mouse(){
//        System.out.println("猫抓老鼠");
//    }
//}